/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chatserver;

import java.util.ArrayList;

/**
 *
 * @author isen
 */
public class HistoricConversation {
    int id;
    String date;
    public ArrayList<String> usernames = new ArrayList<String>();

    public HistoricConversation(int id, String date) {
        this.id = id;
        this.date = date;
    }
    
    String joinUsernames() {
        StringBuilder out = new StringBuilder();
        for (int i = 0; i < usernames.size(); i++) {
            out.append(usernames.get(i));
            out.append(" ");
        }
        return out.toString();
    }
}
